package com.balakitbbs.entity;
import java.util.Date;

import org.springframework.stereotype.Component;

import java.util.*;
   /**
    * bala_message 实体类
    */ 
@Component
public class Bala_message{
	public String comment = "消息表";
	public LinkedHashMap<String, HashMap> commentMap = new LinkedHashMap<String, HashMap>();
	private String id;
	private String bala_content;
	private String bala_fromperson;
	private String bala_toperson;
	private String bala_messagetype;
	private String bala_ispass;
	private String isdel = "0";
	private Date cdate;
	private Date udate;
	public Bala_message(){ 
		super();
		HashMap m = null;
		m = new HashMap();
		m.put("comment","内容");
		commentMap.put("bala_content",m);
		m = new HashMap();
		m.put("comment","发起人");
		commentMap.put("bala_fromperson",m);
		m = new HashMap();
		m.put("comment","接收人");
		commentMap.put("bala_toperson",m);
		m = new HashMap();
		m.put("comment","消息类型");
		commentMap.put("bala_messagetype",m);
		m = new HashMap();
		m.put("comment","是否通过");
		commentMap.put("bala_ispass",m);
	}
	public void setId(String id){
	this.id=id;
	}
	public String getId(){
		return id;
	}
	public void setBala_content(String bala_content){
	this.bala_content=bala_content;
	}
	public String getBala_content(){
		return bala_content;
	}
	public void setBala_fromperson(String bala_fromperson){
	this.bala_fromperson=bala_fromperson;
	}
	public String getBala_fromperson(){
		return bala_fromperson;
	}
	public void setBala_toperson(String bala_toperson){
	this.bala_toperson=bala_toperson;
	}
	public String getBala_toperson(){
		return bala_toperson;
	}
	public void setBala_messagetype(String bala_messagetype){
	this.bala_messagetype=bala_messagetype;
	}
	public String getBala_messagetype(){
		return bala_messagetype;
	}
	public void setBala_ispass(String bala_ispass){
	this.bala_ispass=bala_ispass;
	}
	public String getBala_ispass(){
		return bala_ispass;
	}
	public void setIsdel(String isdel){
	this.isdel=isdel;
	}
	public String getIsdel(){
		return isdel;
	}
	public void setCdate(Date cdate){
	this.cdate=cdate;
	}
	public Date getCdate(){
		return cdate;
	}
	public void setUdate(Date udate){
	this.udate=udate;
	}
	public Date getUdate(){
		return udate;
	}
	public void setComment(String comment){
	this.comment=comment;
	}
	public String  getComment(){
		return comment;
	}
	public void setCommentMap(LinkedHashMap<String, HashMap> commentMap) {
	this.commentMap = commentMap;
	}
	public LinkedHashMap<String, HashMap> getCommentMap() {
		return commentMap;
	}
}

